package org.cn.cf.comm;

import java.util.Vector;

import net.jxta.document.Advertisement;

/**
 * 链路操作  信息传递  
 * 需要确定所基于CFGroup群组
 * */
public class CFTransportControl {

	Vector<Advertisement> acitveSeeds = null;
	/**
	 * 同层组传递
	 * */
	public void postSuperSeed(Advertisement obj){
		
	}
	public void postHelpSeed(Advertisement obj){
		
	}
	public void postMessage(Object obj,int times){
		
	}
	/**
	 * 跨层组传递
	 * */
	public void sendSuperSeed(Advertisement obj){
		
	}
	public void sendHelpSeed(Advertisement obj){
		
	}
	public void sendMessage(Object obj,int hops){
		
	}
	
	/**
	 * 连接种子点
	 * 连接成功进acitveSeeds
	 * */
	public boolean conSeed(Advertisement adv ,int times){
		return true;
	}
}
